package com.fr.plugin.export.xml.ui;

import com.fr.design.fun.impl.AbstractToolbarItem;
import com.fr.form.ui.Widget;
import com.fr.locale.InterProviderFactory;
import com.fr.plugin.export.xml.core.XmlExtensionButton;

public class XmlExportToolbarUI extends AbstractToolbarItem {
    @Override
    public Class<? extends Widget> classForWidget() {
        return XmlExtensionButton.class;
    }

    @Override
    public String iconPathForWidget() {
        return "com/fr/plugin/export/xml/images/xml16.png";
    }

    @Override
    public String nameForWidget() {
        return InterProviderFactory.getProvider().getLocText("Plugin-Xml_Export");
    }
}